package request

type GetList struct {
	Page     int    `json:"page" form:"page"`
	PageSize int    `json:"pageSize" form:"pageSize"`
	OrderKey string `json:"orderKey" form:"orderKey"`
	Desc     bool   `json:"desc" form:"desc"`
}

// User login structure
type Login struct {
	Username string `json:"username"`
	Password string `json:"password"`
}
type ChangePassword struct {
	Username    string `json:"username"`
	Password    string `json:"password"`
	NewPassword string `json:"newPassword"`
}
type StudentList struct {
	GetList
	Name string `json:"name" form:"name"`
}
type UserList struct {
	GetList
	UserName string `json:"username" form:"username"`
}
type DownByField struct {
	Fields []string `json:"fields" form:"fields"`
}
